package com.mdd.common.enums;

/**
 * TODO
 *
 * @Description
 * @Author 幻速
 * @Date 2023/11/13 17:15
 **/
public enum MerchantEnum {
    PLATFORM_SYSTEM(1, "平台"),
    PLATFORM_OP(2, "op"),
    PLATFORM_CP(3, "cp");

    /**
     * 构造方法
     */
    private final int code;
    private final String msg;
    MerchantEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public int getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }
}
